python change type of elements in list

103

list(map(int, ['1','2','3'])) # => [1,2,3]

Comments

Submit
0 Comments